package cn.com.lutao.adapter.object;

import cn.com.lutao.adapter.classs.Source;
import cn.com.lutao.adapter.classs.Targetable;

/**
 * Created by LT on 2017-09-21.
 */
public class Wrapper implements Targetable {
    private Source source;
    public Wrapper(Source source){
        super();
        this.source = source;
    }
    @Override
    public void method1() {
        source.method1();
    }

    @Override
    public void method2() {
        System.out.println("this is the targetable method!");
    }
}
